package com.example.shixunandjavagotoyangchen.BoosYang.Day001.Day00102;

import com.blankj.utilcode.util.ToastUtils;
import com.example.modelviewpresenter.Presenter.BasterPresenter;
import com.example.shixunandjavagotoyangchen.BoosYang.Day001.Day00107.BaseDay00107Bean;
import com.example.shixunandjavagotoyangchen.BoosYang.Day001.Day00107.BaseDay00107Callbck;
import com.example.shixunandjavagotoyangchen.BoosYang.Day001.Day00107.BaseDay00107Contion;

import java.util.List;

/**
 * 作者:二徒
 * 时间：2021/10/28- 11:17
 * 功能实现：
 */
public class SmileDay00102Presenter  extends BasterPresenter<SmileDay00102Contion.vier,SmileDay00102Contion.moder> {

    public SmileDay00102Presenter(SmileDay00102Contion.vier iew, SmileDay00102Contion.moder asd) {
        super(iew, asd);
    }


    public void simlering(String name){
        asd.getmoder(name, new SmileDay00102Callbcak() {
            @Override
            public void suees(List<SmileDay00102Bean.DataBean> dataBeans) {
                iew.getvier(dataBeans);
            }

            @Override
            public void filai(String uet) {
                ToastUtils.showShort(""+uet);
            }
        });
    }
}
